package com.isunland.managesystem.entity;

import com.isunland.managesystem.base.BaseModel;

/**
 * 对象功能:pay_money_log Model对象
 * 开发公司:北京信普达系统工程有限公司
 * 开发人员:lhr
 * 创建时间:2017-01-12 15:10:32
 */
@SuppressWarnings("all") public class PayMoneyLog extends BaseModel {

  public static final String TYPE_LEASE = "lease";
  public static final String TYPE_WORK = "work";
  public static final String TYPE_ORDER = "order";
  /** 查看退款详情 */
  public static final String TYPE_BACK = "back";
  public static final String BACK_ORDER = "1";
  public static final String BACK_LEASE = "2";

  // 主键
  protected String id;
  // 默认排序字段
  protected String orderNo;
  // 操作备注
  protected String remark;
  // 登录人ID
  protected String regStaffId;
  // 登录人
  protected String regStaffName;
  // 登录时间
  protected String regDate;
  // 会员编码
  protected String memberCode;
  // 操作状态
  protected String dataStatus;
  // 操作记录ID
  protected String mainId;
  // 付款方式
  private String payWay;
  // 付款时间
  private String payTime;
  // 付款金额
  private String payMuch;
  // 对应订单编码
  private String bookOrderNo;
  // 对应订单ID
  private String bookOrderId;
  // 付款账号
  private String payAccount;
  // 收款账号
  private String receiveAccount;
  // 操作方式（付款、退款）
  private String operationWay;
  //金额类型
  private String moneyType;
  private String payWayName;
  // 操作方式（付款、退款）
  private String operationWayName;
  //结算对应单据类型
  private String orderType;
  //是否返还 （已原账号返还）
  private String ifReturn;
  //对应的返还记录ID
  private String returnId;

  public String getOrderType() {
    return orderType;
  }

  public void setOrderType(String orderType) {
    this.orderType = orderType;
  }

  public String getIfReturn() {
    return ifReturn;
  }

  public void setIfReturn(String ifReturn) {
    this.ifReturn = ifReturn;
  }

  public String getReturnId() {
    return returnId;
  }

  public void setReturnId(String returnId) {
    this.returnId = returnId;
  }

  public String getOperationWayName() {
    return operationWayName;
  }

  public void setOperationWayName(String operationWayName) {
    this.operationWayName = operationWayName;
  }

  public String getPayWayName() {
    return payWayName;
  }

  public void setPayWayName(String payWayName) {
    this.payWayName = payWayName;
  }

  public String getMoneyType() {
    return moneyType;
  }

  public void setMoneyType(String moneyType) {
    this.moneyType = moneyType;
  }

  /**
   * 返回 主键
   */
  public String getId() {
    return this.id;
  }

  public void setId(String id) {
    this.id = id;
  }

  /**
   * 返回 默认排序字段
   */
  public String getOrderNo() {
    return this.orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }

  /**
   * 返回 操作备注
   */
  public String getRemark() {
    return this.remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  /**
   * 返回 登录人ID
   */
  public String getRegStaffId() {
    return this.regStaffId;
  }

  public void setRegStaffId(String regStaffId) {
    this.regStaffId = regStaffId;
  }

  /**
   * 返回 登录人
   */
  public String getRegStaffName() {
    return this.regStaffName;
  }

  public void setRegStaffName(String regStaffName) {
    this.regStaffName = regStaffName;
  }

  /**
   * 返回 会员编码
   */
  public String getMemberCode() {
    return this.memberCode;
  }

  /**
   * 返回 登录时间
   */

  public void setMemberCode(String memberCode) {
    this.memberCode = memberCode;
  }

  /**
   * 返回 操作状态
   */
  public String getDataStatus() {
    return this.dataStatus;
  }

  public void setDataStatus(String dataStatus) {
    this.dataStatus = dataStatus;
  }

  /**
   * 返回 操作记录ID
   */
  public String getMainId() {
    return this.mainId;
  }

  public void setMainId(String mainId) {
    this.mainId = mainId;
  }

  /**
   * 返回 付款方式
   */
  public String getPayWay() {
    return this.payWay;
  }

  public void setPayWay(String payWay) {
    this.payWay = payWay;
  }

  /**
   * 返回 付款时间
   */

  public String getRegDate() {
    return regDate;
  }

  public void setRegDate(String regDate) {
    this.regDate = regDate;
  }

  public String getPayTime() {
    return payTime;
  }

  public void setPayTime(String payTime) {
    this.payTime = payTime;
  }

  public String getPayMuch() {
    return payMuch;
  }

  public void setPayMuch(String payMuch) {
    this.payMuch = payMuch;
  }

  /**
   * 返回 对应订单编码
   */
  public String getBookOrderNo() {
    return this.bookOrderNo;
  }

  /**
   * 返回 付款金额
   */

  public void setBookOrderNo(String bookOrderNo) {
    this.bookOrderNo = bookOrderNo;
  }

  /**
   * 返回 对应订单ID
   */
  public String getBookOrderId() {
    return this.bookOrderId;
  }

  public void setBookOrderId(String bookOrderId) {
    this.bookOrderId = bookOrderId;
  }

  /**
   * 返回 付款账号
   */
  public String getPayAccount() {
    return this.payAccount;
  }

  public void setPayAccount(String payAccount) {
    this.payAccount = payAccount;
  }

  /**
   * 返回 收款账号
   */
  public String getReceiveAccount() {
    return this.receiveAccount;
  }

  public void setReceiveAccount(String receiveAccount) {
    this.receiveAccount = receiveAccount;
  }

  /**
   * 返回 操作方式（付款、退款）
   */
  public String getOperationWay() {
    return this.operationWay;
  }

  public void setOperationWay(String operationWay) {
    this.operationWay = operationWay;
  }

  public String getTab() {
    if (orderType == null) return null;
    switch (orderType) {
      case TYPE_ORDER:
        return BACK_ORDER;
      case TYPE_LEASE:
        return BACK_LEASE;
      default:
        return "";
    }
  }
}